package com.fx.eduservice.service;

import com.fx.commonuntils.ReturnMessage;
import com.fx.eduservice.entity.vo.EduChapter;
import com.baomidou.mybatisplus.extension.service.IService;
import com.fx.eduservice.entity.vo.EduCourse;

import java.util.function.Consumer;

/**
 * <p>
 * 课程 服务类
 * </p>
 *
 * @author testjava
 * @since 2020-11-07
 */
public interface EduChapterService extends IService<EduChapter> {


    ReturnMessage<Object> getChapterVideo(String couseId);


    ReturnMessage<Object> deleteById(EduChapter eduChapter);

    void deleteChapterByCoursmId(String id);
}
